<div class="countries view">
<h2><?php  echo __('Country'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($country['Country']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($country['Country']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Iso Code 2'); ?></dt>
		<dd>
			<?php echo h($country['Country']['iso_code_2']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Iso Code 3'); ?></dt>
		<dd>
			<?php echo h($country['Country']['iso_code_3']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Address Format'); ?></dt>
		<dd>
			<?php echo h($country['Country']['address_format']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Eu'); ?></dt>
		<dd>
			<?php echo h($country['Country']['eu']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Private'); ?></dt>
		<dd>
			<?php echo h($country['Country']['private']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Firm'); ?></dt>
		<dd>
			<?php echo h($country['Country']['firm']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Flag'); ?></dt>
		<dd>
			<?php echo h($country['Country']['flag']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Country'), array('action' => 'edit', $country['Country']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Country'), array('action' => 'delete', $country['Country']['id']), null, __('Are you sure you want to delete # %s?', $country['Country']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Countries'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Country'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Country Zones'), array('controller' => 'country_zones', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Country Zone'), array('controller' => 'country_zones', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Languages'), array('controller' => 'languages', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Language'), array('controller' => 'languages', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Country Zones'); ?></h3>
	<?php if (!empty($country['CountryZone'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Country Id'); ?></th>
		<th><?php echo __('Code'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($country['CountryZone'] as $countryZone): ?>
		<tr>
			<td><?php echo $countryZone['id']; ?></td>
			<td><?php echo $countryZone['country_id']; ?></td>
			<td><?php echo $countryZone['code']; ?></td>
			<td><?php echo $countryZone['name']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'country_zones', 'action' => 'view', $countryZone['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'country_zones', 'action' => 'edit', $countryZone['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'country_zones', 'action' => 'delete', $countryZone['id']), null, __('Are you sure you want to delete # %s?', $countryZone['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Country Zone'), array('controller' => 'country_zones', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Languages'); ?></h3>
	<?php if (!empty($country['Language'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th><?php echo __('Default'); ?></th>
		<th><?php echo __('Code'); ?></th>
		<th><?php echo __('Active'); ?></th>
		<th><?php echo __('Sort Order'); ?></th>
		<th><?php echo __('Country Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($country['Language'] as $language): ?>
		<tr>
			<td><?php echo $language['id']; ?></td>
			<td><?php echo $language['name']; ?></td>
			<td><?php echo $language['default']; ?></td>
			<td><?php echo $language['code']; ?></td>
			<td><?php echo $language['active']; ?></td>
			<td><?php echo $language['sort_order']; ?></td>
			<td><?php echo $language['country_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'languages', 'action' => 'view', $language['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'languages', 'action' => 'edit', $language['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'languages', 'action' => 'delete', $language['id']), null, __('Are you sure you want to delete # %s?', $language['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Language'), array('controller' => 'languages', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
